package org.ch03.hw.demo05;

/**
 * @author ZJL
 * @date 2025-03-26
 */
public class Woman {

    public <T extends Pet & Call> void sayHello(T pet) {
        System.out.println("嗨，"+pet.getClass().getSimpleName());
        pet.call();
    }
}
